package com.ruibang.glass.produce.entity;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentStyle;
import com.alibaba.excel.enums.poi.HorizontalAlignmentEnum;
import com.alibaba.excel.enums.poi.VerticalAlignmentEnum;
import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.teaming.cloud.framework2.common.pojo.BaseEntity;
import com.teaming.cloud.framework2.common.tools.LocalDateTimeStringConverter;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.time.LocalDateTime;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * <p>
 * 生产-洁净室-半成品洁净室环境记录
 * </p>
 *
 * @author 宋锦康
 * @since 2024-03-11
 */

@ApiModel(value = "生产-洁净室-半成品洁净室环境记录")
@TableName("g_produce_bcp_clean_room_record")
@Data
@ContentStyle(horizontalAlignment = HorizontalAlignmentEnum.CENTER, verticalAlignment = VerticalAlignmentEnum.CENTER)
public class ProduceBcpCleanRoomRecord extends BaseEntity {
    @ApiModelProperty(value = "主键id")
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    @ExcelIgnore
    private String id;
    @ApiModelProperty(value = "日期")
    @ColumnWidth(18)
    @ExcelProperty(value = {"日期"}, index = 0, converter = LocalDateTimeStringConverter.class)
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime date;
    @ApiModelProperty(value = "记录时间")
    @ColumnWidth(18)
    @ExcelProperty(value = {"记录时间"}, index = 1, converter = LocalDateTimeStringConverter.class)
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime time;
    @ApiModelProperty(value = "记录人")
    @ColumnWidth(10)
    @ExcelProperty(value = {"记录人"}, index = 2)
    private String recorder;
    @ApiModelProperty(value = "记录人用户ID")
    @ExcelProperty
    private String recorderId;
    @ApiModelProperty(value = "区域选择:0=半成品")
    @ColumnWidth(10)
    @ExcelProperty(value = {"区域选择"}, index = 3)
    private String area;
    @ApiModelProperty(value = "上午-颗粒测定值1")
    @TableField("grain_m_1")
    @ColumnWidth(10)
    @ExcelProperty(value = {"颗粒测定值(上午)-0.3", "颗粒测定值1"}, index = 4)
    private Double grainM1;
    @ApiModelProperty(value = "上午-颗粒测定值2")
    @TableField("grain_m_2")
    @ColumnWidth(10)
    @ExcelProperty(value = {"颗粒测定值(上午)-0.3", "颗粒测定值2"}, index = 5)
    private Double grainM2;
    @ApiModelProperty(value = "上午-颗粒测定值3")
    @TableField("grain_m_3")
    @ColumnWidth(10)
    @ExcelProperty(value = {"颗粒测定值(上午)-0.3", "颗粒测定值3"}, index = 6)
    private Double grainM3;
    @ApiModelProperty(value = "上午-颗粒测定值4")
    @TableField("grain_m_4")
    @ColumnWidth(10)
    @ExcelProperty(value = {"颗粒测定值(上午)-0.3", "颗粒测定值4"}, index = 7)
    private Double grainM4;
    @ApiModelProperty(value = "上午-颗粒测定值5")
    @TableField("grain_m_5")
    @ColumnWidth(10)
    @ExcelProperty(value = {"颗粒测定值(上午)-0.3", "颗粒测定值5"}, index = 8)
    private Double grainM5;
    @ApiModelProperty(value = "上午-颗粒测定值6")
    @TableField("grain_m_6")
    @ColumnWidth(10)
    @ExcelProperty(value = {"颗粒测定值(上午)-0.3", "颗粒测定值6"}, index = 9)
    private Double grainM6;
    @ApiModelProperty(value = "上午-颗粒测定值7")
    @TableField("grain_m_7")
    @ColumnWidth(10)
    @ExcelProperty(value = {"颗粒测定值(上午)-0.3", "颗粒测定值7"}, index = 10)
    private Double grainM7;
    @ApiModelProperty(value = "上午-颗粒测定值8")
    @TableField("grain_m_8")
    @ColumnWidth(10)
    @ExcelProperty(value = {"颗粒测定值(上午)-0.3", "颗粒测定值8"}, index = 11)
    private Double grainM8;
    @ApiModelProperty(value = "上午-颗粒测定值9")
    @TableField("grain_m_9")
    @ColumnWidth(10)
    @ExcelProperty(value = {"颗粒测定值(上午)-0.3", "颗粒测定值9"}, index = 12)
    private Double grainM9;
    @ApiModelProperty(value = "上午-颗粒测定值10")
    @TableField("grain_m_10")
    @ColumnWidth(10)
    @ExcelProperty(value = {"颗粒测定值(上午)-0.3", "颗粒测定值10"}, index = 13)
    private Double grainM10;
    @ApiModelProperty(value = "上午-颗粒测定值1")
    @TableField("grain_m_1_b")
    @ColumnWidth(10)
    @ExcelProperty(value = {"颗粒测定值(上午)-0.5", "颗粒测定值1"}, index = 14)
    private Double grainM1B;
    @ApiModelProperty(value = "上午-颗粒测定值2")
    @TableField("grain_m_2_b")
    @ColumnWidth(10)
    @ExcelProperty(value = {"颗粒测定值(上午)-0.5", "颗粒测定值2"}, index = 15)
    private Double grainM2B;
    @ApiModelProperty(value = "上午-颗粒测定值3")
    @TableField("grain_m_3_b")
    @ColumnWidth(10)
    @ExcelProperty(value = {"颗粒测定值(上午)-0.5", "颗粒测定值3"}, index = 16)
    private Double grainM3B;
    @ApiModelProperty(value = "上午-颗粒测定值4")
    @TableField("grain_m_4_b")
    @ColumnWidth(10)
    @ExcelProperty(value = {"颗粒测定值(上午)-0.5", "颗粒测定值4"}, index = 17)
    private Double grainM4B;
    @ApiModelProperty(value = "上午-颗粒测定值5")
    @TableField("grain_m_5_b")
    @ColumnWidth(10)
    @ExcelProperty(value = {"颗粒测定值(上午)-0.5", "颗粒测定值5"}, index = 18)
    private Double grainM5B;
    @ApiModelProperty(value = "上午-颗粒测定值6")
    @TableField("grain_m_6_b")
    @ColumnWidth(10)
    @ExcelProperty(value = {"颗粒测定值(上午)-0.5", "颗粒测定值6"}, index = 19)
    private Double grainM6B;
    @ApiModelProperty(value = "上午-颗粒测定值7")
    @TableField("grain_m_7_b")
    @ColumnWidth(10)
    @ExcelProperty(value = {"颗粒测定值(上午)-0.5", "颗粒测定值7"}, index = 20)
    private Double grainM7B;
    @ApiModelProperty(value = "上午-颗粒测定值8")
    @TableField("grain_m_8_b")
    @ColumnWidth(10)
    @ExcelProperty(value = {"颗粒测定值(上午)-0.5", "颗粒测定值8"}, index = 21)
    private Double grainM8B;
    @ApiModelProperty(value = "上午-颗粒测定值9")
    @TableField("grain_m_9_b")
    @ColumnWidth(10)
    @ExcelProperty(value = {"颗粒测定值(上午)-0.5", "颗粒测定值9"}, index = 22)
    private Double grainM9B;
    @ApiModelProperty(value = "上午-颗粒测定值10")
    @TableField("grain_m_10_b")
    @ColumnWidth(10)
    @ExcelProperty(value = {"颗粒测定值(上午)-0.5", "颗粒测定值10"}, index = 23)
    private Double grainM10B;
    @ApiModelProperty(value = "上午-温度")
    @TableField("temperature_m")
    @ColumnWidth(10)
    @ExcelProperty(value = {"上午-温度"}, index = 24)
    private Double temperatureM;
    @ApiModelProperty(value = "上午-湿度")
    @TableField("humidity_m")
    @ColumnWidth(10)
    @ExcelProperty(value = {"上午-湿度"}, index = 25)
    private Double humidityM;


    @ApiModelProperty(value = "下午-颗粒测定值1")
    @TableField("grain_a_1")
    @ColumnWidth(10)
    @ExcelProperty(value = {"颗粒测定值(下午)-0.3", "颗粒测定值1"}, index = 26)
    private Double grainA1;
    @ApiModelProperty(value = "下午-颗粒测定值2")
    @TableField("grain_a_2")
    @ColumnWidth(10)
    @ExcelProperty(value = {"颗粒测定值(下午)-0.3", "颗粒测定值2"}, index = 27)
    private Double grainA2;
    @ApiModelProperty(value = "下午-颗粒测定值3")
    @TableField("grain_a_3")
    @ColumnWidth(10)
    @ExcelProperty(value = {"颗粒测定值(下午)-0.3", "颗粒测定值3"}, index = 28)
    private Double grainA3;
    @ApiModelProperty(value = "下午-颗粒测定值4")
    @TableField("grain_a_4")
    @ColumnWidth(10)
    @ExcelProperty(value = {"颗粒测定值(下午)-0.3", "颗粒测定值4"}, index = 29)
    private Double grainA4;
    @ApiModelProperty(value = "下午-颗粒测定值5")
    @TableField("grain_a_5")
    @ColumnWidth(10)
    @ExcelProperty(value = {"颗粒测定值(下午)-0.3", "颗粒测定值5"}, index = 30)
    private Double grainA5;
    @ApiModelProperty(value = "下午-颗粒测定值6")
    @TableField("grain_a_6")
    @ColumnWidth(10)
    @ExcelProperty(value = {"颗粒测定值(下午)-0.3", "颗粒测定值6"}, index = 31)
    private Double grainA6;
    @ApiModelProperty(value = "下午-颗粒测定值7")
    @TableField("grain_a_7")
    @ColumnWidth(10)
    @ExcelProperty(value = {"颗粒测定值(下午)-0.3", "颗粒测定值7"}, index = 32)
    private Double grainA7;
    @ApiModelProperty(value = "下午-颗粒测定值8")
    @TableField("grain_a_8")
    @ColumnWidth(10)
    @ExcelProperty(value = {"颗粒测定值(下午)-0.3", "颗粒测定值8"}, index = 33)
    private Double grainA8;
    @ApiModelProperty(value = "下午-颗粒测定值9")
    @TableField("grain_a_9")
    @ColumnWidth(10)
    @ExcelProperty(value = {"颗粒测定值(下午)-0.3", "颗粒测定值9"}, index = 34)
    private Double grainA9;
    @ApiModelProperty(value = "下午-颗粒测定值10")
    @TableField("grain_a_10")
    @ColumnWidth(10)
    @ExcelProperty(value = {"颗粒测定值(下午)-0.3", "颗粒测定值10"}, index = 35)
    private Double grainA10;
    @ApiModelProperty(value = "下午-颗粒测定值1")
    @TableField("grain_a_1_b")
    @ColumnWidth(10)
    @ExcelProperty(value = {"颗粒测定值(下午)-0.5", "颗粒测定值1"}, index = 36)
    private Double grainA1B;
    @ApiModelProperty(value = "下午-颗粒测定值2")
    @TableField("grain_a_2_b")
    @ColumnWidth(10)
    @ExcelProperty(value = {"颗粒测定值(下午)-0.5", "颗粒测定值2"}, index = 37)
    private Double grainA2B;
    @ApiModelProperty(value = "下午-颗粒测定值3")
    @TableField("grain_a_3_b")
    @ColumnWidth(10)
    @ExcelProperty(value = {"颗粒测定值(下午)-0.5", "颗粒测定值3"}, index = 38)
    private Double grainA3B;
    @ApiModelProperty(value = "下午-颗粒测定值4")
    @TableField("grain_a_4_b")
    @ColumnWidth(10)
    @ExcelProperty(value = {"颗粒测定值(下午)-0.5", "颗粒测定值4"}, index = 39)
    private Double grainA4B;
    @ApiModelProperty(value = "下午-颗粒测定值5")
    @TableField("grain_a_5_b")
    @ColumnWidth(10)
    @ExcelProperty(value = {"颗粒测定值(下午)-0.5", "颗粒测定值5"}, index = 40)
    private Double grainA5B;
    @ApiModelProperty(value = "下午-颗粒测定值6")
    @TableField("grain_a_6_b")
    @ColumnWidth(10)
    @ExcelProperty(value = {"颗粒测定值(下午)-0.5", "颗粒测定值6"}, index = 41)
    private Double grainA6B;
    @ApiModelProperty(value = "下午-颗粒测定值7")
    @TableField("grain_a_7_b")
    @ColumnWidth(10)
    @ExcelProperty(value = {"颗粒测定值(下午)-0.5", "颗粒测定值7"}, index = 42)
    private Double grainA7B;
    @ApiModelProperty(value = "下午-颗粒测定值8")
    @TableField("grain_a_8_b")
    @ColumnWidth(10)
    @ExcelProperty(value = {"颗粒测定值(下午)-0.5", "颗粒测定值8"}, index = 43)
    private Double grainA8B;
    @ApiModelProperty(value = "下午-颗粒测定值9")
    @TableField("grain_a_9_b")
    @ColumnWidth(10)
    @ExcelProperty(value = {"颗粒测定值(下午)-0.5", "颗粒测定值9"}, index = 44)
    private Double grainA9B;
    @ApiModelProperty(value = "下午-颗粒测定值10")
    @TableField("grain_a_10_b")
    @ColumnWidth(10)
    @ExcelProperty(value = {"颗粒测定值(下午)-0.5", "颗粒测定值10"}, index = 45)
    private Double grainA10B;
    @ApiModelProperty(value = "下午-温度")
    @TableField("temperature_a")
    @ColumnWidth(10)
    @ExcelProperty(value = {"下午-温度"}, index = 46)
    private Double temperatureA;
    @ApiModelProperty(value = "下午-湿度")
    @TableField("humidity_a")
    @ColumnWidth(10)
    @ExcelProperty(value = {"下午-湿度"}, index = 47)
    private Double humidityA;


    @ApiModelProperty(value = "晚上-颗粒测定值1")
    @TableField("grain_n_1")
    @ColumnWidth(10)
    @ExcelProperty(value = {"颗粒测定值(晚上)-0.3", "颗粒测定值1"}, index = 48)
    private Double grainN1;
    @ApiModelProperty(value = "晚上-颗粒测定值2")
    @TableField("grain_n_2")
    @ColumnWidth(10)
    @ExcelProperty(value = {"颗粒测定值(晚上)-0.3", "颗粒测定值2"}, index = 49)
    private Double grainN2;
    @ApiModelProperty(value = "晚上-颗粒测定值3")
    @TableField("grain_n_3")
    @ColumnWidth(10)
    @ExcelProperty(value = {"颗粒测定值(晚上)-0.3", "颗粒测定值3"}, index = 50)
    private Double grainN3;
    @ApiModelProperty(value = "晚上-颗粒测定值4")
    @TableField("grain_n_4")
    @ColumnWidth(10)
    @ExcelProperty(value = {"颗粒测定值(晚上)-0.3", "颗粒测定值4"}, index = 51)
    private Double grainN4;
    @ApiModelProperty(value = "晚上-颗粒测定值5")
    @TableField("grain_n_5")
    @ColumnWidth(10)
    @ExcelProperty(value = {"颗粒测定值(晚上)-0.3", "颗粒测定值5"}, index = 52)
    private Double grainN5;
    @ApiModelProperty(value = "晚上-颗粒测定值6")
    @TableField("grain_n_6")
    @ColumnWidth(10)
    @ExcelProperty(value = {"颗粒测定值(晚上)-0.3", "颗粒测定值6"}, index = 53)
    private Double grainN6;
    @ApiModelProperty(value = "晚上-颗粒测定值7")
    @TableField("grain_n_7")
    @ColumnWidth(10)
    @ExcelProperty(value = {"颗粒测定值(晚上)-0.3", "颗粒测定值7"}, index = 54)
    private Double grainN7;
    @ApiModelProperty(value = "晚上-颗粒测定值8")
    @TableField("grain_n_8")
    @ColumnWidth(10)
    @ExcelProperty(value = {"颗粒测定值(晚上)-0.3", "颗粒测定值8"}, index = 55)
    private Double grainN8;
    @ApiModelProperty(value = "晚上-颗粒测定值9")
    @TableField("grain_n_9")
    @ColumnWidth(10)
    @ExcelProperty(value = {"颗粒测定值(晚上)-0.3", "颗粒测定值9"}, index = 56)
    private Double grainN9;
    @ApiModelProperty(value = "晚上-颗粒测定值10")
    @TableField("grain_n_10")
    @ColumnWidth(10)
    @ExcelProperty(value = {"颗粒测定值(晚上)-0.3", "颗粒测定值10"}, index = 57)
    private Double grainN10;
    @ApiModelProperty(value = "晚上-颗粒测定值1")
    @TableField("grain_n_1_b")
    @ColumnWidth(10)
    @ExcelProperty(value = {"颗粒测定值(晚上)-0.5", "颗粒测定值1"}, index = 58)
    private Double grainN1B;
    @ApiModelProperty(value = "晚上-颗粒测定值2")
    @TableField("grain_n_2_b")
    @ColumnWidth(10)
    @ExcelProperty(value = {"颗粒测定值(晚上)-0.5", "颗粒测定值2"}, index = 59)
    private Double grainN2B;
    @ApiModelProperty(value = "晚上-颗粒测定值3")
    @TableField("grain_n_3_b")
    @ColumnWidth(10)
    @ExcelProperty(value = {"颗粒测定值(晚上)-0.5", "颗粒测定值3"}, index = 60)
    private Double grainN3B;
    @ApiModelProperty(value = "晚上-颗粒测定值4")
    @TableField("grain_n_4_b")
    @ColumnWidth(10)
    @ExcelProperty(value = {"颗粒测定值(晚上)-0.5", "颗粒测定值4"}, index = 61)
    private Double grainN4B;
    @ApiModelProperty(value = "晚上-颗粒测定值5")
    @TableField("grain_n_5_b")
    @ColumnWidth(10)
    @ExcelProperty(value = {"颗粒测定值(晚上)-0.5", "颗粒测定值5"}, index = 62)
    private Double grainN5B;
    @ApiModelProperty(value = "晚上-颗粒测定值6")
    @TableField("grain_n_6_b")
    @ColumnWidth(10)
    @ExcelProperty(value = {"颗粒测定值(晚上)-0.5", "颗粒测定值6"}, index = 63)
    private Double grainN6B;
    @ApiModelProperty(value = "晚上-颗粒测定值7")
    @TableField("grain_n_7_b")
    @ColumnWidth(10)
    @ExcelProperty(value = {"颗粒测定值(晚上)-0.5", "颗粒测定值7"}, index = 64)
    private Double grainN7B;
    @ApiModelProperty(value = "晚上-颗粒测定值8")
    @TableField("grain_n_8_b")
    @ColumnWidth(10)
    @ExcelProperty(value = {"颗粒测定值(晚上)-0.5", "颗粒测定值8"}, index = 65)
    private Double grainN8B;
    @ApiModelProperty(value = "晚上-颗粒测定值9")
    @TableField("grain_n_9_b")
    @ColumnWidth(10)
    @ExcelProperty(value = {"颗粒测定值(晚上)-0.5", "颗粒测定值9"}, index = 66)
    private Double grainN9B;
    @ApiModelProperty(value = "晚上-颗粒测定值10")
    @TableField("grain_n_10_b")
    @ColumnWidth(10)
    @ExcelProperty(value = {"颗粒测定值(晚上)-0.5", "颗粒测定值10"}, index = 67)
    private Double grainN10B;
    @ApiModelProperty(value = "晚上-温度")
    @TableField("temperature_n")
    @ColumnWidth(10)
    @ExcelProperty(value = {"晚上-温度"}, index = 68)
    private Double temperatureN;
    @ApiModelProperty(value = "晚上-湿度")
    @TableField("humidity_n")
    @ColumnWidth(10)
    @ExcelProperty(value = {"晚上-湿度"}, index = 69)
    private Double humidityN;
    @ApiModelProperty(value = "备注")
    @ColumnWidth(30)
    @ExcelProperty(value = {"备注"}, index = 70)
    private String remark;
    @ApiModelProperty(value = "是否删除：1：是 0：否")
    @ExcelIgnore
    @TableLogic
    private String isDelete;
}
